 var t02 = 1;
    var t01 = 16;
    var timer = setInterval("startTimer()",1000);  

    function startTimer(){  
        if(t01 !== 1 && t01>0) {  
            t01--;
            if (t02 > 1200 && t02 < 1250){
        	document.all.timer1.innerHTML = "<img src=\"space.png\" width=210 height=1><b><img src=\"http://algtube.is-best.net/img/close1.png\"></b>";
    	    }else{
    		document.all.timer1.innerHTML = "<b><img src=\"http://algtube.is-best.net/img/close1.png\"></b>";  
    	    }
        } else if (t01 === 1){  
            document.all.timer1.innerHTML = "";
    	    if (t02 === 1225){
        	document.all.timer3.innerHTML = "<a class=c2 href=\"#\" onclick=\"closead(); \"><img src=\"http://algtube.is-best.net/img/close1.png\"></a><img src=\"space.png\" width=250 height=1>";
            }else if (t02 > 1800){
    		document.all.timer3.innerHTML = "<a class=addcolor href=\"#\" onclick=\"closead(); \"><img src=\"http://algtube.is-best.net/img/close1.png\"></a>";
                t02 = 1250;
            }else{
      		document.all.timer3.innerHTML = "<a class=addcolor href=\"#\" onclick=\"closead(); \"><img src=\"http://algtube.is-best.net/img/close1.png\"></a>";
            }
            t01 = 0;
        }
        
    	  
        t02++;
    }
    function closead () {
	document.all.timer2.innerHTML = "";
	document.all.timer1.innerHTML =  "";
	document.all.timer3.innerHTML = "";
    }
	
	
	
	
	
	
	function masquernotification()
{
  document.getElementById("zonedenotification").innerHTML="";
}
 window.setTimeout(masquernotification, 20000);
 